<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>ejson4cpp: ejson::string_helper结构体 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">ejson4cpp
   &#160;<span id="projectnumber">1.5.0</span>
   </div>
   <div id="projectbrief">a easy and efficiency json parser for cpp</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('structejson_1_1string__helper.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="structejson_1_1string__helper-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">ejson::string_helper结构体 参考</div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:a5e0bd5806edbcd3082dc927192ecdb4c"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structejson_1_1string__helper.html#a5e0bd5806edbcd3082dc927192ecdb4c">string_helper</a> (std::string &amp;str, char indent_char=' ')</td></tr>
<tr class="separator:a5e0bd5806edbcd3082dc927192ecdb4c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8fbc4e179a60d55e0cbbb8f900f64f68"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structejson_1_1string__helper.html#a8fbc4e179a60d55e0cbbb8f900f64f68">resize_indent_string</a> (size_t size)</td></tr>
<tr class="separator:a8fbc4e179a60d55e0cbbb8f900f64f68"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a232bbdb60eb0c1379bdaba75a3677497"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structejson_1_1string__helper.html#a232bbdb60eb0c1379bdaba75a3677497">indent_string_size</a> ()</td></tr>
<tr class="separator:a232bbdb60eb0c1379bdaba75a3677497"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac558dc508fa69f0f73c90c945a996394"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structejson_1_1string__helper.html#ac558dc508fa69f0f73c90c945a996394">indent_string_data</a> ()</td></tr>
<tr class="separator:ac558dc508fa69f0f73c90c945a996394"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af35fc16a0d48d6f94683171b8747c2e6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structejson_1_1string__helper.html#af35fc16a0d48d6f94683171b8747c2e6">push_back</a> (char x)</td></tr>
<tr class="separator:af35fc16a0d48d6f94683171b8747c2e6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aab6fcc146efd42f1e6346798a8d8eebc"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structejson_1_1string__helper.html#aab6fcc146efd42f1e6346798a8d8eebc">append</a> (const char *x, size_t len, bool is_esc=false)</td></tr>
<tr class="separator:aab6fcc146efd42f1e6346798a8d8eebc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a74e546e8010f7226026594eb1c550665"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structejson_1_1string__helper.html#a74e546e8010f7226026594eb1c550665">push_integer</a> (<a class="el" href="namespaceejson.html#a875b831f521787766018e93bc1f55db0">int_t</a> value)</td></tr>
<tr class="separator:a74e546e8010f7226026594eb1c550665"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4b9dbeb50d8ec3927774507e4bf44c69"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structejson_1_1string__helper.html#a4b9dbeb50d8ec3927774507e4bf44c69">push_float</a> (<a class="el" href="namespaceejson.html#a956488ec860a9d32cf0d0df3cf313637">double_t</a> value)</td></tr>
<tr class="separator:a4b9dbeb50d8ec3927774507e4bf44c69"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">构造及析构函数说明</h2>
<a id="a5e0bd5806edbcd3082dc927192ecdb4c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5e0bd5806edbcd3082dc927192ecdb4c">&#9670;&nbsp;</a></span>string_helper()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">ejson::string_helper::string_helper </td>
          <td>(</td>
          <td class="paramtype">std::string &amp;&#160;</td>
          <td class="paramname"><em>str</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char&#160;</td>
          <td class="paramname"><em>indent_char</em> = <code>'&#160;'</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">explicit</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">成员函数说明</h2>
<a id="aab6fcc146efd42f1e6346798a8d8eebc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aab6fcc146efd42f1e6346798a8d8eebc">&#9670;&nbsp;</a></span>append()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void ejson::string_helper::append </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>len</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>is_esc</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="ac558dc508fa69f0f73c90c945a996394"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac558dc508fa69f0f73c90c945a996394">&#9670;&nbsp;</a></span>indent_string_data()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const char* ejson::string_helper::indent_string_data </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a232bbdb60eb0c1379bdaba75a3677497"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a232bbdb60eb0c1379bdaba75a3677497">&#9670;&nbsp;</a></span>indent_string_size()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">size_t ejson::string_helper::indent_string_size </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="af35fc16a0d48d6f94683171b8747c2e6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af35fc16a0d48d6f94683171b8747c2e6">&#9670;&nbsp;</a></span>push_back()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void ejson::string_helper::push_back </td>
          <td>(</td>
          <td class="paramtype">char&#160;</td>
          <td class="paramname"><em>x</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a4b9dbeb50d8ec3927774507e4bf44c69"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4b9dbeb50d8ec3927774507e4bf44c69">&#9670;&nbsp;</a></span>push_float()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void ejson::string_helper::push_float </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceejson.html#a956488ec860a9d32cf0d0df3cf313637">double_t</a>&#160;</td>
          <td class="paramname"><em>value</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a74e546e8010f7226026594eb1c550665"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a74e546e8010f7226026594eb1c550665">&#9670;&nbsp;</a></span>push_integer()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void ejson::string_helper::push_integer </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceejson.html#a875b831f521787766018e93bc1f55db0">int_t</a>&#160;</td>
          <td class="paramname"><em>value</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a8fbc4e179a60d55e0cbbb8f900f64f68"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8fbc4e179a60d55e0cbbb8f900f64f68">&#9670;&nbsp;</a></span>resize_indent_string()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void ejson::string_helper::resize_indent_string </td>
          <td>(</td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>size</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<hr/>该结构体的文档由以下文件生成:<ul>
<li>src/ejson/<a class="el" href="jobject_8cc.html">jobject.cc</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="namespaceejson.html">ejson</a></li><li class="navelem"><a class="el" href="structejson_1_1string__helper.html">string_helper</a></li>
    <li class="footer">制作者 <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
  </ul>
</div>
</body>
</html>
